package org.javaboy.freemarker_thymeleaf_jsp.controller;

import jakarta.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class HelloController {

    @GetMapping("/jsp")
    public String jsp() {
        return "jsp";
    }

    @GetMapping("/thymeleaf")
    public String thymeleaf() {
        return "thymeleaf";
    }

    @GetMapping("/freemarker")
    public String freemarker(HttpServletRequest request) {
        return "freemarker";
    }
}
